Skip to content

feat(web-api): Add support for admin.users.getExpiration - #2451

Merged
zimeg merged 10 commits into
mainfrom
add-admin-users-get-expiration
Aug 13, 2026
Merged

feat(web-api): Add support for admin.users.getExpiration#2451
zimeg merged 10 commits into
mainfrom
add-admin-users-get-expiration

Conversation

@misscoded

@misscoded misscoded commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

Summary

Adds support for admin.users.getExpiration (and updates generated responses). See documentation.

Resolves #2420.

Requirements (place an x in each [ ])

@misscoded misscoded added this to the web-api@7.14.0 milestone Dec 10, 2025
@misscoded
misscoded requested review from vegeris and zimeg December 10, 2025 22:26
@misscoded misscoded self-assigned this Dec 10, 2025
@misscoded misscoded added semver:minor enhancement M-T: A feature request for new functionality area:typescript issues that specifically impact using the package from typescript projects pkg:web-api applies to `@slack/web-api` labels Dec 10, 2025
@codecov

codecov Bot commented Dec 10, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.14%. Comparing base (1228651) to head (2fcdb59).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2451      +/-   ##
==========================================
+ Coverage   89.11%   89.14%   +0.02%     
==========================================
  Files          65       65              
  Lines       10351    10361      +10     
  Branches      473      473              
==========================================
+ Hits         9224     9236      +12     
+ Misses       1096     1094       -2     
  Partials       31       31              
Flag Coverage Δ
cli-hooks 89.14% <100.00%> (+0.02%) ⬆️
cli-test 89.14% <100.00%> (+0.02%) ⬆️
logger 89.14% <100.00%> (+0.02%) ⬆️
oauth 89.14% <100.00%> (+0.02%) ⬆️
socket-mode 89.14% <100.00%> (+0.02%) ⬆️
web-api 89.14% <100.00%> (+0.02%) ⬆️
webhook 89.14% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@misscoded
misscoded marked this pull request as ready for review December 18, 2025 21:50
@misscoded
misscoded requested a review from a team as a code owner December 18, 2025 21:50

@zimeg zimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@misscoded LGTM and thanks so much for including the generated responses with this change 🙏 ✨

I left a comment about one of those changes, but no blockers for this method 🤖

Comment thread packages/web-api/src/types/response/ChatStopStreamResponse.ts
zimeg and others added 2 commits August 12, 2026 23:28
Revert the response-type files swept in by a full type regen that are
unrelated to admin.users.getExpiration, leaving only the method's own
type changes. Response-type currency is handled separately.

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@changeset-bot

changeset-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2fcdb59

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/web-api Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

zimeg and others added 2 commits August 12, 2026 23:33
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg zimeg added this to the web-api@next milestone Aug 13, 2026
@zimeg
zimeg merged commit 955e6b9 into main Aug 13, 2026
12 checks passed
@zimeg
zimeg deleted the add-admin-users-get-expiration branch August 13, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:typescript issues that specifically impact using the package from typescript projects enhancement M-T: A feature request for new functionality pkg:web-api applies to `@slack/web-api` semver:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for the admin.users.getExpiration API

3 participants